<template>
  <div class="watch">
    <h1>watch</h1>
	<h2>{{watchShow}}</h2>
  </div>
</template>

<script>	
export default {
	data () {
		return {
			show : '',
			watchShow : '',
		}
	},
	watch: {
		show(val) {
			console.log(val);
			this.watchShow = val;
		}
	},
	method: {
		
	},
	created() {
		console.log();
		setTimeout( () => {
			
			this.show = '监听数据变化了'
		},1000)
	}
}
</script>

<style lang="scss" scoped>
	
</style>